<%@ Control Language="vb" AutoEventWireup="false" Explicit="true" Codefile="TitleSummary.vb" Inherits="NVPortal.Modules.NVNews.TitleSummary" %>

<asp:DataList ID="drgOtherNews" Width="100%" GridLines="None" runat="server">
    <ItemTemplate>
		<table width="100%" border="0" class="TitleSummary_TB">
		    <tr>
		        <td class="TitleSummary_TD1">
		            <asp:HyperLink id="hplOtherNews" CssClass="TitleSummary_Title1" runat="server" NavigateUrl='<%# FormatURL("ItemID",DataBinder.Eval(Container.DataItem,"newid"),"CatID",DataBinder.Eval(Container.DataItem,"CategoryId"),ReplaceChuoi(DataBinder.Eval(Container.DataItem,"Title"))) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>'></asp:HyperLink>
		        </td>
		    </tr>
		    <tr>
		        <td Width='<%# ImageWidth %>' class="TitleSummary_TD1a">
		            <asp:HyperLink id="HyperLink1" runat="server" NavigateUrl='<%# FormatURL("ItemID",DataBinder.Eval(Container.DataItem,"newid"),"CatID",DataBinder.Eval(Container.DataItem,"CategoryId"), ReplaceChuoi(DataBinder.Eval(Container.DataItem,"Title"))) %>'>
		            <asp:Image CssClass="TitleSummary_IMG1" BorderWidth="1px" id="Image3" runat="server" Width='<%# ImageWidth %>' ImageUrl='<%# PortalSettings.HomeDirectory & "news/hot/" & DataBinder.Eval(Container, "DataItem.imagepathHot") %>'></asp:Image></asp:HyperLink></td>
		    </tr>
		    <tr>
		        <td class="TitleSummary_TD1b">
		            <asp:Label CssClass="TitleSummary_Summary" id="Image1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Summary") %>'></asp:Label></td>
		    </tr>
		</table>
    </ItemTemplate>
    <AlternatingItemTemplate>
        <table width="100%" border="0">
		    <tr>
		        <td class="TitleSummary_TD2">
		            <asp:HyperLink id="hplOtherNews" CssClass="TitleSummary_Title2" runat="server" NavigateUrl='<%# FormatURL("ItemID",DataBinder.Eval(Container.DataItem,"newid"),"CatID",DataBinder.Eval(Container.DataItem,"CategoryId"),ReplaceChuoi(DataBinder.Eval(Container.DataItem,"Title"))) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>'></asp:HyperLink>
		        </td>
		    </tr>
		    <tr>
		        <td Width='<%# ImageWidth %>' class="TitleSummary_TD2a:>
		            <asp:HyperLink id="HyperLink2" CssClass="TitleSummary_Title2" runat="server" NavigateUrl='<%# FormatURL("ItemID",DataBinder.Eval(Container.DataItem,"newid"),"CatID",DataBinder.Eval(Container.DataItem,"CategoryId"),ReplaceChuoi(DataBinder.Eval(Container.DataItem,"Title"))) %>' text='<%# DataBinder.Eval(Container.DataItem,"title")%>'>
		                <asp:Image BorderWidth="1px" CssClass="TitleSummary_IMG2" id="Image3" runat="server" Width='<%# ImageWidth %>' ImageUrl='<%# PortalSettings.HomeDirectory & "news/" & DataBinder.Eval(Container, "DataItem.imagepath") %>'></asp:Image>
		            </asp:HyperLink>    
		        </td>
		    </tr>
		    <tr>
		        <td class="TitleSummary_TD2b">
		            <asp:Label CssClass="TitleSummary_Summary" id="Image1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Summary") %>'></asp:Label></td>
		    </tr>
		</table>
    </AlternatingItemTemplate>
</asp:DataList>
<table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="text-align: right; padding: 2px;"><asp:HyperLink ID="hplRSS" runat="server"><img src="/Portals/_default/Skins/NVPortal/images/rss_logo-300x298.jpg" alt="RSS" style="border: 0px;" /></asp:HyperLink></td></tr></table>